package cn.edu.whu.irlab.dao;

import cn.edu.whu.irlab.model.UserTopic;
import cn.edu.whu.irlab.model.UserTopicKey;
import org.springframework.stereotype.Repository;

@Repository
public interface UserTopicMapper {
    int deleteByPrimaryKey(UserTopicKey key);

    int insert(UserTopic record);

    int insertSelective(UserTopic record);

    UserTopic selectByPrimaryKey(UserTopicKey key);

    int updateByPrimaryKeySelective(UserTopic record);

    int updateByPrimaryKey(UserTopic record);
}